<?php

declare(strict_types=1);
/**
 * This file is part of habo_new_media.
 *
 * @link     https://www.berlen.cn/
 * @contact  tech@berlen.cn
 * @license  http://gitlab.rehou.cn/habo/habo_new_media/-/blob/master/README.md
 */
namespace app\enum;

class OeCreativeEnum
{
    const PIC_TYPE = [
        1 => 'CREATIVE_IMAGE_MODE_LARGE',   //横版大图
        2 => 'CREATIVE_IMAGE_MODE_GROUP',   //组图
        3 => 'CREATIVE_IMAGE_MODE_SMALL',   //小图
        6 => 'CREATIVE_IMAGE_MODE_LARGE_VERTICAL',    //竖版大图
    ];
    const VIDEO_TYPE = [
        1 => 'CREATIVE_IMAGE_MODE_VIDEO',   //横版视频
        2 => 'CREATIVE_IMAGE_MODE_VIDEO_VERTICAL',  //竖版视频
    ];

    const PIC_TYPE_ARR = [
        'CREATIVE_IMAGE_MODE_LARGE' => 1,   //横版大图
        'CREATIVE_IMAGE_MODE_GROUP' => 2,   //组图
        'CREATIVE_IMAGE_MODE_SMALL' => 3,   //小图
        'CREATIVE_IMAGE_MODE_LARGE_VERTICAL' => 6,    //竖版大图
    ];
    const VIDEO_TYPE_ARR = [
        'CREATIVE_IMAGE_MODE_VIDEO' => 1,   //横版视频
        'CREATIVE_IMAGE_MODE_VIDEO_VERTICAL' => 2,  //竖版视频
    ];


    #创意展现方式
    const DISPLAY_MODE = [
        'CREATIVE_DISPLAY_MODE_CTR' => '优选',
        'CREATIVE_DISPLAY_MODE_RANDOM' => '轮播',
    ];
    #创意类型
    const MATERIAL_MODE = [
        'STATIC_ASSEMBLE' => '程序化创意',
    ];
    //投放位置
    const INVENTORY_INFO = [
        'INVENTORY_FEED'=>'头条信息流',
        'INVENTORY_VIDEO_FEED'=>'西瓜信息流',
        'INVENTORY_HOTSOON_FEED'=>'火山信息流',
        'INVENTORY_AWEME_FEED'=>'抖音信息流',
        'INVENTORY_UNION_SLOT'=>'穿山甲',
        'UNION_BOUTIQUE_GAME'=>'穿山甲精选休闲游戏',
        'INVENTORY_UNION_SPLASH_SLOT'=>'穿山甲开屏广告',
        'INVENTORY_AWEME_SEARCH'=>'搜索广告——抖音位',
        'INVENTORY_SEARCH'=>'搜索广告——头条位',
        'INVENTORY_UNIVERSAL'=>'通投智选',
        'INVENTORY_BEAUTY'=>'轻颜相机',
        'INVENTORY_PIPIXIA'=>'皮皮虾',
        'INVENTORY_AUTOMOBILE'=>'懂车帝',
        'INVENTORY_STUDY'=>'好好学习',
        'INVENTORY_FACE_U'=>'faceu',
        'INVENTORY_TOMATO_NOVEL'=>'番茄小说',
    ];

    //场景广告位
    const SCENE_INVENTORY = [
        'VIDEO_SCENE'=>'沉浸式竖版视频场景广告位',
        'FEED_SCENE'=>'信息流场景广告位',
        'TAIL_SCENE'=>'视频后贴和尾帧场景广告位',
    ];


    #广告创意状态
    const STATUS=[
        'CREATIVE_STATUS_DELIVERY_OK'=>'投放中',
        'CREATIVE_STATUS_NOT_START'=>'未到达投放时间',
        'CREATIVE_STATUS_NO_SCHEDULE'=>'不在投放时段',
        'CREATIVE_STATUS_DISABLE'=>'创意暂停',
        'CREATIVE_STATUS_CAMPAIGN_DISABLE'=>'已被广告组暂停',
        'CREATIVE_STATUS_CAMPAIGN_EXCEED'=>'广告组超出预算',
        'CREATIVE_STATUS_AUDIT'=>'新建审核中',
        'CREATIVE_STATUS_REAUDIT'=>'修改审核中',
        'CREATIVE_STATUS_DELETE'=>'已删除',
        'CREATIVE_STATUS_DONE'=>'已完成',
        'CREATIVE_STATUS_AD_DISABLE'=>'广告计划暂停',
        'CREATIVE_STATUS_AUDIT_DENY'=>'审核不通过',
        'CREATIVE_STATUS_BALANCE_EXCEED'=>'账户余额不足',
        'CREATIVE_STATUS_BUDGET_EXCEED'=>'超出预算',
        'CREATIVE_STATUS_DATA_ERROR'=>'数据错误',
        'CREATIVE_STATUS_PRE_ONLINE'=>'预上线',
        'CREATIVE_STATUS_AD_AUDIT'=>'广告计划新建审核中',
        'CREATIVE_STATUS_AD_REAUDIT'=>'广告计划修改审核中',
        'CREATIVE_STATUS_AD_AUDIT_DENY'=>'广告计划审核不通过',
        'CREATIVE_STATUS_ALL'=>'所有包含已删除',
        'CREATIVE_STATUS_NOT_DELETE'=>'所有不包含已删除',
        'CREATIVE_STATUS_ADVERTISER_BUDGET_EXCEED'=>'超出账户日预算',
    ];


    #是否关闭评论
    const COMMENT_DISABLE = [
        '0' => '开启',
        '1' => '关闭',
    ];

    const STATUS_OK = 'CREATIVE_STATUS_DELIVERY_OK';   //投放中
    #广告创意操作状态
    const STATUS_ENABLE = 'CREATIVE_STATUS_ENABLE';   //启用
    const STATUS_DISABLE = 'CREATIVE_STATUS_DISABLE';      //暂停
    const STATUS_DELETE = 'CREATIVE_STATUS_DELETE';      //删除

    #广告创意排序
    const ORDER=[
        '1'=>'消耗从低到高',
        '2'=>'消耗从高到底',
        '3'=>'转化数从低到高',
        '4'=>'转化数从高到底',
        '5'=>'转化成本从低到高',
        '6'=>'转化成本从高到底',
        '7'=>'平均千次展现费用从低到高',
        '8'=>'平均千次展现费用从高到底',
    ];


    #广告创意排序
    const MATERIAL_TYPE=[
        'CREATIVE_IMAGE_MODE_SMALL'=>'小图',
        'CREATIVE_IMAGE_MODE_LARGE'=>'大图',
        'CREATIVE_IMAGE_MODE_GROUP'=>'组图',
        'CREATIVE_IMAGE_MODE_VIDEO'=>'横版视频',
        'CREATIVE_IMAGE_MODE_GIF'=>'GIF图',
        'CREATIVE_IMAGE_MODE_LARGE_VERTICAL'=>'大图竖图',
        'CREATIVE_IMAGE_MODE_VIDEO_VERTICAL'=>'竖版视频',
        'TOUTIAO_SEARCH_AD_IMAGE'=>'搜索大图',
        'SEARCH_AD_SMALL_IMAGE'=>'搜索小图',
        'CREATIVE_IMAGE_MODE_UNION_SPLASH'=>'穿山甲开屏图片',
        'CREATIVE_IMAGE_MODE_UNION_SPLASH_VIDEO'=>'穿山甲开屏视频',
        'CREATIVE_IMAGE_MODE_DISPLAY_WINDOW'=>'搜索橱窗',
        'MATERIAL_IMAGE_MODE_TITLE'=>'标题类型',
        'CREATIVE_IMAGE_MODE_AWEME_LIVE'=>'直播画面类型',
        'CREATIVE_IMAGE_MODE_PLAYABLE_HORIZONTAL'=>'横版试玩素材类型',
        'CREATIVE_IMAGE_MODE_PLAYABLE_VERTICAL'=>'竖版试玩素材类型',
    ];
}
